package com.service.business.merchant.controller.req;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class CommoditySaveReq {

    /**
     * 商品名
     */
    @NotBlank(message = "merchant_commodity_exception_name_not_blank")
    private String commodityName;
    /**
     * 商品描述
     */
    @NotBlank(message = "merchant_commodity_exception_desc_not_blank")
    private String commodityDesc;

    /**
     * 商品封面图
     */
    @NotBlank(message = "merchant_commodity_exception_pic_not_blank")
    private String pic;
    /**
     * 轮播图1
     */
    @NotBlank(message = "merchant_commodity_exception_pic1_not_blank")
    private String pic1;
    /**
     * 轮播图2
     */
    private String pic2;
    /**
     * 轮播图3
     */
    private String pic3;
    /**
     * 轮播图4
     */
    private String pic4;
    /**
     * 轮播图5
     */
    private String pic5;
    /**
     *
     */
    private String language;

    @NotNull(message = "merchant_commodity_exception_price_not_null")
    private List<CommodityPriceAddReq> priceList;

}
